<template>
	<el-form-item :label="$t('designer.setting.plain')">
		<el-switch v-model="thisOptionModel.plain"></el-switch>
	</el-form-item>
</template>

<script>
export default {
	name: "plain-editor",
	mixins: [],
	props: {
		designer: Object,
		selectedWidget: Object,
		optionModel: Object,
	},
	data() {
		return {
			thisOptionModel: this.optionModel
		}
	},
	watch: {
		'optionModel': {
			handler(val) {
				if (val) {
					this.thisOptionModel = val
				}
			}
		},
	},

}
</script>

<style scoped>

</style>
